package com.example.demo.btrace.vo;

public class Student extends Person {


	public void eat(){
		System.out.println("小米吃东西");
	}

	public Student(String name) {
		super(name);
	}

	public String getName(){
		return this.name;
	}
	public void setName(String name){
		this.name = name;
	}

	@Override
	public String toString() {
		return "Student{" +
				"name='" + name + '\'' +
				'}';
	}
}
